﻿#pragma once
#include "../Utilities/utilities.h"
#include "ImageTGA.h"

class Texture
{
private:
	GLenum m_TextureTarget;

	//Number of Texture was binded
	int m_iCount;
public:
	GLuint* m_IdTexture;

	GLuint Load2DTexture(char* TextureName);
	GLuint Load2DTextureAnpha(char* TextureName);

	///Load list texture
	//	Support 24/32 pbb
	//Input Parameters:
	//	strTextureNames: List File Texture Name
	///End
	GLuint* Load2DTextures(char** strTextureNames, int iCount);


	GLuint LoadTextureCube(char** aTextureName);
	void Bind(GLenum TextureUnit);
	void UnBind(GLenum TextureUnit);
	Texture(void);
	~Texture(void);
};

